import pandas as pd
from matplotlib import pyplot
data = pd.read_csv('data01.csv')
print(data.head())
x=data.loc[:,'x']
y=data.loc[:,'y']
# print(x)

pyplot.figure()
pyplot.scatter(x,y)
pyplot.show()

from sklearn.linear_model import LinearRegression